package com.newasia.user.dal.persistence;

import com.newasia.user.dal.entitys.SysUser;

public interface SysUserMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser selectUserByName(String userName);

    int updateByUserName(SysUser record);

    SysUser validUserName(String userName);
}